package com.twu.biblioteca;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.ArrayList;

public class BibliotecaApp {

    public static void main(String[] args) throws IOException {
        PrintStream printStream = System.out;
        new WelcomeScreen(printStream).display();
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        ArrayList<String> libraryBooks = new ArrayList<String>();
        libraryBooks.add("A Book");
        State currentState = new Menu(printStream, reader, libraryBooks);
        currentState.execute();
        currentState = currentState.nextState();
        currentState.execute();
    }
}
